while(cha[i]>='A' && cha[i]<='Z')